package com.common.pattern.pipeline.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;
import java.util.Map;

/**
 * @title: PipelineManualProperty
 * @Author xu-xiang
 * @Date: 2023/8/10 18:59
 * @description:
 */
@ConfigurationProperties(prefix = "pipeline")
@ConditionalOnProperty(prefix = "pipeline.manual", name = "enable")
public class PipelineManualProperty {

    private Map<String, List<String>> pipelineMap;

    private Boolean pintLog;

    public Map<String, List<String>> getPipelineMap() {
        return pipelineMap;
    }

    public void setPipelineMap(Map<String, List<String>> pipelineMap) {
        this.pipelineMap = pipelineMap;
    }

    public Boolean getPintLog() {
        return pintLog;
    }

    public void setPintLog(Boolean pintLog) {
        this.pintLog = pintLog;
    }
}
